﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Theme="Default" Inherits="webapp4U.UI.ArticleDefault" %>
<%@ Import Namespace="webapp4U" %>
<%@ Register TagPrefix="webapp4U" Namespace="webapp4U.UI" %>
<%@ Register Src="~/Controls/Title.ascx" TagName="Title" TagPrefix="uc" %>
<%@ Register Src="~/Controls/ArticlesByParent.ascx" TagName="ArticlesByParent" TagPrefix="uc" %>


<asp:Content ID="Content1" ContentPlaceHolderID="PageContent" runat="Server">
 
<uc:Title runat="server" ID="Title011" />

<table width="500px" cellpadding="0" cellspacing="0" border="0">
    <tr>
      <td width="1px" background="<%=Globals.ImagesUrl() %>Frame/Line.gif"></td>
      <td valign="top" style="padding-bottom:25px; padding-top:0px;">
          <!--begin noi dung -->
            <table width="98%" border="0" cellpadding="1" cellspacing="1"  align="center">
            <tr>
                <td>
                    <uc:ArticlesByParent runat="server" ID="ArticlesByParent11" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Panel runat="server" ID="PanelArticles">
                        <asp:Repeater ID="rptArticles" runat="server">
                            <ItemTemplate>
                                <tr>
                                    <td valign="top" align="left">
                                        <div style="padding-bottom: 3pt;">
                                            <a class="NewsTitle" href="<%=ApplicationPath%>Articles/ArticleDetail.aspx?ArticleID=<%# Eval("ArticleID")%>">
                                                <b><%# Eval("Title") %></b>
                                            </a>
                                            <span class="NewsTime">(<%# FormatDate((DateTime)Eval("PostDate")) %>)</span>
                                        </div>
                                        <table cellspacing="5" cellpadding="0" align="left" border="0">
                                            <tbody>
                                                <tr>
                                                    <td class="BorderImage">
                                                        <webapp4U:ImageObject Width="130" ImageFilter='off' BorderStyle="solid" ID="img1" runat="server"
                                                        ImagePath='<%# Globals.ApplicationPath  + "UserUpload/Articles/" %>'
                                                        ImageName='<%# Eval("ImageURL") %>'/></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                        <div style="text-align: justify; line-height:18px;">
                                            <%#Eval("Excerpt") %>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" style="padding-right: 3pt; padding-bottom:5px;">
                                        <img src="<%=Globals.ImagesUrl()%>arrow.gif" />
                                        <a class="ReadMore" href="<%=ApplicationPath%>Articles/ArticleDetail.aspx?ArticleID=<%# Eval("ArticleID")%>"><%=ResourceManager.GetString("ReadMore") %></a>
                                    </td>
                                </tr>
                                <tr><td style="background-repeat:repeat-x; padding:3pt;" background="<%=Globals.ImagesUrl()%>pm_line.gif"></td></tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </asp:Panel>
                </td>
            </tr>

            </table>
          <!--end noi dung -->
      </td>
      <td width="1px" background="<%=Globals.ImagesUrl() %>Frame/Line.gif"></td>
    </tr>
</table>




      
</asp:Content>

            
       

